package com.yiyan.study.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 示例参数
 */
@Data
@Schema(description = "示例实体参数")
public class DemoParam implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "创建时间")
    private LocalDateTime createDate;
}
